package o;

import android.graphics.Bitmap;
import android.graphics.ImageDecoder;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import java.io.IOException;
import java.nio.ByteBuffer;

@RequiresApi(api = 28)
public final class wm implements se<ByteBuffer, Bitmap> {
    private final wi ˏ = new wi();

    public /* synthetic */ boolean ˊ(@NonNull Object obj, @NonNull sc scVar) throws IOException {
        return ˋ((ByteBuffer) obj, scVar);
    }

    public boolean ˋ(@NonNull ByteBuffer byteBuffer, @NonNull sc scVar) throws IOException {
        return true;
    }

    @Nullable
    public tx<Bitmap> ˎ(@NonNull ByteBuffer byteBuffer, int i, int i2, @NonNull sc scVar) throws IOException {
        return this.ˏ.ॱ(ImageDecoder.createSource(byteBuffer), i, i2, scVar);
    }
}
